home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / USBSampleStorageDriver / StorageClassDriver / StorageClassShim.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-25  |  813 b   |  34 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        StorageClassShim.h
  3.  
  4.     Contains:    All prototypes for exported functions and resource fork management
  5.                 functions.
  6.  
  7.     Version:    1.3
  8.  
  9.     Copyright:    © 1998-1999 by Apple Computer, Inc., all rights reserved.
  10.  
  11.     File Ownership:
  12.  
  13.         DRI:                Tim McLeod
  14.  
  15.         Other Contact:        Ken Turner
  16.  
  17.         Technology:            Mass Storage Unified Drivers (Fusion)
  18.  
  19. */
  20. #ifndef __StorageClassShimH__
  21. #define __StorageClassShimH__
  22.  
  23. #include <CodeFragments.h>
  24.  
  25. // Prototypes for all exported functions
  26. extern OSStatus        USBShim( void );
  27. extern OSErr         CFragInitRoutine(CFragInitBlockPtr initBlkPtr);
  28. extern void         CFragTermRoutine( void );
  29.  
  30. // Prototypes for functions to manage opening and closing of the Shim's resource fork
  31. extern short        OpenShimResourceFork( void );
  32. extern void         CloseShimResourceFork( void );
  33.  
  34. #endif //__StorageClassShimH__